package com.emergency.examine.domain;


import com.emergency.base.domain.BaseEntity;

import javax.persistence.*;
import java.util.List;

//考生信息表
@Entity
@Table(name = "ex_exam_staff")
public class ExamStaff extends BaseEntity {

    private String name;//考生姓名

    private String num;//考生编号

    @Column(name = "staff_id")
    private String staff; //员工id（员工总表） 暂不联动

    private String team;
    /**
     * 考生总成绩
     */
    @Transient
    private List<ExamScore> examScores;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getStaff() {
        return staff;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }

    public String getTeam() {
        return team;
    }

    public void setTeam(String team) {
        this.team = team;
    }

    public List<ExamScore> getExamScores() {
        return examScores;
    }

    public void setExamScores(List<ExamScore> examScores) {
        this.examScores = examScores;
    }
}
